package com.guigu.youxuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.youxuan.common.utils.PageUtils;
import com.guigu.youxuan.pojo.BackUser;
import com.guigu.youxuan.pojo.dto.LoginForm;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liweixin
 * @since 2024-05-15
 */
public interface IBackUserService extends IService<BackUser> {

    BackUser getBackUser(LoginForm loginForm);

    PageUtils<BackUser> getBackUserList(BackUser backUser, int currentPage, int pageSize);

    void switchStatus(BackUser backUser);

    void addBackUser(BackUser backUser);

    BackUser queryBackUser(Long userId);

    void updateBackUser(BackUser backUser);

    void delBackUser(BackUser backUser);

    void delsBackUser(List<BackUser> backUserList);
}
